PopupMenuManager relies on menus being added in the order of the
menu buttons they are attached to, so defer adding the user status
menu until the status icon menus have been added to make the manager
happy.
this._statusmenu = new StatusMenu.StatusMenuButton();
this._statusmenu.actor.name = 'panelStatus';
- this._menus.addMenu(this._statusmenu.menu);
this._rightBox.add(this._statusmenu.actor);
// Synchronize the buttons pseudo classes with its corner
this._statusBox.add(indicator.actor);
this._menus.addMenu(indicator.menu);
}
+
+ // PopupMenuManager depends on menus being added in order for
+ // keyboard navigation
+ this._menus.addMenu(this._statusmenu.menu);
},
startupAnimation: function() {